package org.example.serviceEdu.mapper;

import org.example.serviceEdu.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.serviceEdu.entity.frontvo.CourseWebVo;
import org.example.serviceEdu.entity.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author lining
 * @since 2023-10-25
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
//    根据id查询具体信息
public CoursePublishVo getPublishCourseInfo(String courseId);

    CourseWebVo getBaseCourseInfo(String courseId);
}
